/**
 * Created by lins on 2018-7-17.
 */
(function (angular) {
    function PeriodicAnalysisService($resource, $q, $http, UrlConfigService) {
        var _schema = [
            {label: '序号', name: "id", sortable: false},
            {label: '名称', name: "name", sortable: false},
            {label: '数据类型', name: "type", sortable: false},
            {label: '数据来源', name: "source", sortable: false},
            {label: '操作', type: 'template', templateUrl: 'operation.html', width: '120px'}
        ];
        this._schema = _schema;
        this._sort = '';
        this._order = '';
        this._listUrl = UrlConfigService.urlConfig. decisionAnalysis.portray.labelSystem.list;
        this._url = '';
        BaseListService.call(this, this._listUrl, $resource, $q, $http, _schema, this._url);


    }

    PeriodicAnalysisService.$inject = ['$resource', '$q', '$http', 'UrlConfigService'];
    angular.module('MetronicApp').service('PeriodicAnalysisService', PeriodicAnalysisService);
})(angular);